package org.zs.miracle.service.dict.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.dto.BaseLongIdDTO;
import org.zs.miracle.common.validate.ValidateNotNullAndEmpty;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SetStateDictDTO extends BaseLongIdDTO {
  
  @Serial
  private static final long serialVersionUID = 2987177555850281051L;
  
  @ValidateNotNullAndEmpty(message = "启用状态不能为空")
  @Schema(description = "启用状态: true = 启用, false = 禁用", example = "true")
  private Boolean state;
}